﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ue.Infrastructure.DomainBase;

namespace Ue.Qcdz.Domain.FriendLink
{
    public class FriendLinks : EntityBase
    {
        public FriendLinks(object key):base(key)
        {
        }
        public FriendLinks(string linkName, string linkUrl, string remark, FriendListEnum status,object key)
        {
            this.Key = key;
            this.LinkName = linkName;
            this.LinkUrl = linkUrl;
            this.Remark = remark;
            this.Status = status;
        }
        public string LinkName { get; set; }
        public string LinkUrl { get; set; }
        public string Remark { get; set; }
        public FriendListEnum Status { get; set; }
        public void ChangeStatus()
        {
            Status = Status == FriendListEnum.Disable ? FriendListEnum.Enable : FriendListEnum.Disable;
        }
    }
    
    
}
